home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / othergnu / trmcap10.zoo / makefile < prev    next >
Makefile  |  1992-05-03  |  3KB  |  119 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for GNU termcap library.
  3. # Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; if not, write to the Free Software
  17. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  
  19. SHELL = /bin/bash.ttp
  20.  
  21. #### Start of system configuration section. ####
  22.  
  23. srcdir = .
  24.  
  25.  
  26. CC = /bin/gcc.ttp
  27.  
  28. # If you don't have a BSD or GNU install program, use cp.
  29. INSTALL = /bin/cp.ttp
  30. INSTALLDATA = /bin/cp.ttp
  31.  
  32. # Things you might add to DEFS:
  33. # -DUSG            If you have memcpy instead of bcopy.
  34. # -DNO_ARG_ARRAY    If you can't take the address of the first of
  35. #            a group of arguments and treat it as an array.
  36.  
  37. DEFS = 
  38.  
  39. CDEBUG = 
  40. CFLAGS = $(CDEBUG) $(DEFS) -O2 -fstrength-reduce -fwritable-strings -finline-functions
  41.  
  42. prefix =
  43.  
  44. # Directory in which to install libtermcap.a.
  45. libdir = /lib/gnulib
  46.  
  47. # Directory in which to install termcap.h.
  48. includedir = /lib/gnulib/include
  49.  
  50. # Directory in which to optionally also install termcap.h,
  51. # so compilers besides gcc can find it by default.
  52. # If it is empty or not defined, termcap.h will only be installed in
  53. # includedir. 
  54. oldincludedir =
  55.  
  56. # Directory in which to install the documentation info files.
  57. infodir =
  58.  
  59. #### End of system configuration section. ####
  60.  
  61. # Version of libtermcap distribution.
  62. VERSION = 1.0
  63.  
  64. SRCS = termcap.c tparam.c
  65. OBJS = termcap.o tparam.o
  66. HDRS = termcap.h
  67. DISTFILES = $(SRCS) $(HDRS) COPYING README termcap.texinfo termcap.info* \
  68. texinfo.tex Makefile.in configure configure.in
  69.  
  70. all:    termcap.olb
  71. .PHONY: all
  72.  
  73. install: all
  74.     $(INSTALLDATA) libtermcap.a $(libdir)/libtermcap.a
  75.     -ranlib $(libdir)/libtermcap.a
  76.     cd $(srcdir); $(INSTALLDATA) termcap.h $(includedir)/termcap.h
  77.     cd $(srcdir); test -n "$(oldincludedir)" && \
  78.       $(INSTALLDATA) termcap.h $(oldincludedir)/termcap.h
  79.     cd $(srcdir); $(INSTALLDATA) termcap.info* $(infodir)
  80. .PHONY: install
  81.  
  82. termcap.olb: $(OBJS)
  83.     /bin/gcc-ar.ttp rc $@ $(OBJS)
  84.  
  85. termcap.info: termcap.texinfo
  86.     makeinfo termcap.texinfo --output=$(srcdir)/$@
  87.  
  88. tags:    $(SRCS)
  89.     ctags $(SRCS)
  90.  
  91. TAGS:    $(SRCS)
  92.     etags $(SRCS)
  93.  
  94. clean:
  95.     rm -f *.a *.o core
  96. .PHONY: clean
  97.  
  98. mostlyclean: clean
  99. .PHONY: mostlyclean
  100.  
  101. distclean: clean
  102.     rm -f Makefile config.status
  103. .PHONY: distclean
  104.  
  105. realclean: distclean
  106.     rm -f TAGS tags *.info*
  107. .PHONY: realclean
  108.  
  109. dist: $(DISTFILES)
  110.     echo termcap-$(VERSION) > .fname
  111.     rm -rf `cat .fname`
  112.     mkdir `cat .fname`
  113.     ln $(DISTFILES) `cat .fname`
  114.     tar chZf `cat .fname`.tar.Z `cat .fname`
  115.     rm -rf `cat .fname` .fname
  116. .PHONY: dist
  117.  
  118. .NOEXPORT:
  119.